<template>
  <div id="homePage">
    <!-- 主内容区域 -->
    <div class="main-content">
      <h1 class="page-title">管理员，您好！欢迎来到学习辅助系统</h1>
      <p class="page-description">在这里，您可以高效管理学习笔记、记录学习状况，还能在论坛交流学习心得。</p>
    </div>
    <!-- 功能介绍区域 -->
    <div class="feature-section">
      <div class="feature">
        <i class="fa fa-file-text-o"></i>
        <h3>学习笔记管理</h3>
        <p>自由对学习笔记进行增加、删除、修改和查询，让知识管理更高效。</p>
      </div>
      <div class="feature">
        <i class="fa fa-calendar"></i>
        <h3>学习日历</h3>
        <p>使用日历模块记录每天的学习状况，清晰掌握学习进度。</p>
      </div>
      <div class="feature">
        <i class="fa fa-comments-o"></i>
        <h3>学习论坛</h3>
        <p>参与管理员发布的话题讨论，发布、管理帖子，还能收藏精彩内容。</p>
      </div>
    </div>


  </div>
</template>

<script lang="ts" setup>

</script>

<style scoped>
#homePage {
  width: 100%;
  height: 100%;
  margin-top: 10%;
  text-align: center;

}

   /* 全局样式 */
 body {
   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   margin: 0;
   padding: 0;
 }

/* 导航栏样式 */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #333;
  color: white;
  padding: 15px 30px;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #007BFF;
}

/* 主内容区域样式 */
.main-content {
  text-align: center;
  margin-top: 100px;
}

.page-title {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 20px;
}

.page-description {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  background-color: #007BFF;
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #0056b3;
}

/* 功能介绍区域样式 */
.feature-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.feature {
  width: 300px;
  padding: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.feature i {
  font-size: 2rem;
  color: #007BFF;
  margin-bottom: 15px;
}

.feature h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 10px;
}

.feature p {
  font-size: 1rem;
  color: #666;
}

.feature:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* 页脚样式 */
.footer {
  background-color: #f8f9fa;
  padding: 20px;
  text-align: center;
  margin-top: 50px;
}
</style>



